package com.jijia.webbase.exception.custException;

import com.jijia.webbase.config.response.StatusCode;
import lombok.AllArgsConstructor;
import lombok.Data;

@Data
public class HaoWanException extends RuntimeException {
    private StatusCode statusCode;
    private String msg;

    public HaoWanException(StatusCode statusCode, String msg) {
        super(msg);
        this.statusCode = statusCode;
        this.msg = msg;
    }
}
